home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Utilities Professional 1-1500
/
Utilities Professional 1-1500 (1994)(WPD)[!].iso
/
12511500
/
var1286.dms
/
var1286.adf
/
printers
/
IBMColorJet
/
CommandTable.c
< prev
next >
Wrap
Text File
|
1992-09-02
|
7KB
|
108 lines
/* IBM ColourJet */
/* ColourJet/CommandTable.c */
/***************************************************************************
*
* IBM ColourJet functions implemented:
*
* aRIS, aIND, aNEL,
* aSGR0, aSGR4, aSGR24, aSGR1, aSGR22,
* aSHORP0, aSHORP4, aSHORP3, aSHORP6, aSHORP5,
* aDEN4, aDEN3, aDEN2, aDEN1,
* aSUS2, aSUS1, aSUS4, aSUS3, aSUS0,
* aVERP0, aVERP1, aSLPP, aPERF, aPERF0,
* aTBC3, aTBC4, aTBCALL, aTBSALL
*
***************************************************************************/
char *CommandTable[] ={
"\033[K\001\376\376", /* reset RIS ESCc */
"\377", /* initialize RIN ESC#1 */
"\012", /* lf IND ESCD */
"\015\012", /* return,lf NEL ESCE */
"\377", /* reverse lf RI ESCM */
"\0337", /* normal char set SGR0 ESC[0m */
"\377", /* italics on SGR3 ESC[3m */
"\377", /* italics off SGR23 ESC[23m */
"\033-\001", /* underline on SGR4 ESC[4m */
"\033-\376", /* underline off SGR24 ESC[24m */
"\033G", /* boldface on SGR1 ESC[1m */
"\033H", /* boldface off SGR22 ESC[22m */
"\377", /* set foreground color SFC ESC[nm (n=30-39) */
"\377", /* set background color SBC ESC[nm (n=40-49) */
"\033W\376\024\022", /* normal pitch 10cpi SHORP0 ESC[0w */
"\377", /* elite on 12cpi SHORP2 ESC[2w */
"\377", /* elite off 12cpi SHORP1 ESC[1w */
"\017", /* condensed(fine) on SHORP4 ESC[4w */
"\022", /* condensed off SHORP3 ESC[3w */
"\033W\001", /* enlarged on SHORP6 ESC[6w */
"\033W\376", /* enlarged off SHORP5 ESC[5w */
"\377", /* shadow print on DEN6 ESC[6z */
"\377", /* shadow print off DEN5 ESC[5z */
"\033G", /* doublestrike on DEN4 ESC[4z */
"\033H", /* doublestrike off DEN3 ESC[3z */
"\033I\002", /* NLQ on DEN2 ESC[2z */
"\033I\001", /* NLQ off DEN1 ESC[1z */
"\033S\376", /* superscript on SUS2 ESC[2v */
"\033T", /* superscript off SUS1 ESC[1v */
"\033S\001", /* subscript on SUS4 ESC[4v */
"\033T", /* subscript off SUS3 ESC[3v */
"\033T", /* normalize SUS0 ESC[0v */
"\377", /* partial line up PLU ESCL */
"\377", /* partial line down PLD ESCK */
"\377", /* US char set FNT0 ESC(B */
"\377", /* French char set FNT1 ESC(R */
"\377", /* German char set FNT2 ESC(K */
"\377", /* UK char set FNT3 ESC(A */
"\377", /* Danish I char set FNT4 ESC(E */
"\377", /* Sweden char set FNT5 ESC(H */
"\377", /* Italian char set FNT6 ESC(Y */
"\377", /* Spanish char set FNT7 ESC(Z */
"\377", /* Japanese char set FNT8 ESC(J */
"\377", /* Norweign char set FNT9 ESC(6 */
"\377", /* Danish II char set FNT10 ESC(C */
"\377", /* proportional on PROP2 ESC[2p */
"\377", /* proportional off PROP1 ESC[1p */
"\377", /* proportional clear PROP0 ESC[0p */
"\377", /* set prop offset TSS ESC[n E */
"\377", /* auto left justify JFY5 ESC[5 F */
"\377", /* auto right justify JFY7 ESC[7 F */
"\377", /* auto full justify JFY6 ESC[6 F */
"\377", /* auto justify off JFY0 ESC[0 F */
"\377", /* letter space JFY3 ESC[3 F */
"\377", /* auto center on JFY1 ESC[1 F */
"\0330", /* 1/8" line space VERP0 ESC[0z */
"\0332", /* 1/6" line spacing VERP1 ESC[1z */
"\033C", /* set form length = n SLPP ESC[nt */
"\033N", /* perf skip n (n>0) PERF ESC[nq */
"\033O", /* perf skip off PERF0 ESC[0q */
"\377", /* Left margin set LMS ESC#9 */
"\377", /* Right margin set RMS ESC#0 */
"\377", /* top margin set TMS ESC#8 */
"\377", /* Bottom marg set BMS ESC#2 */
"\377", /* T&B margin set STBM ESC[n1;n2r */
"\377", /* L&R margin set SLRM ESC[n1;n2s */
"\377", /* Clear margins CAM ESC#3 */
"\377", /* Set horiz tab HTS ESCH */
"\377", /* Set vertical tab VTS ESCJ */
"\377", /* Clr horiz tab TBC0 ESC[0g */
"\033D\376", /* Clear all h tabs TBC3 ESC[3g */
"\377", /* Clr vertical tab TBC1 ESC[1g */
"\033B\376", /* Clr all v tabs TBC4 ESC[4g */
"\033D\376\033B\376", /* Clr all h & v tabs TBCALL ESC#4 */
/* set default tabs TBSALL ESC#5 */
"\033D\011\021\031\041\051\061\071\101\111\121\131\141\151\161\171\376",
"\377" /* entended command EXTEND ESC[n"x */
};
/**************** End of File: ColourJet/CommandTable.c ******************/